package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ccc
 * @since 2023-11-23 10:57:44
 */
@Data
@TableName("farm_collect")
public class FarmCollect {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("种植id")
    private Integer plantId;

    @ApiModelProperty("种植批号")
    private String plantCode;

    @ApiModelProperty("负责人")
    private Integer principalId;

    @ApiModelProperty("记录人")
    private Integer recoder;

    @ApiModelProperty("作业描述")
    private String description;

    @ApiModelProperty("作业班组")
    private Integer deptId;

    @ApiModelProperty("作业地块")
    private String landIds;

    @ApiModelProperty("作业图片")
    private String pics;

    @ApiModelProperty("作业时间-开始")
    private Date startTime;

    @ApiModelProperty("作业时间-结束")
    private Date endTime;

    @ApiModelProperty("用工人数")
    private Integer workerNum;

    @ApiModelProperty("库存批号")
    private String code;

    @ApiModelProperty("采收方式")
    private Integer collectType;

    @ApiModelProperty("采收方法")
    private Integer method;

    @ApiModelProperty("采收方法说明")
    private String methodDesc;

    @ApiModelProperty("采收部位")
    private String position;

    @ApiModelProperty("采收数量")
    private BigDecimal num;

    @ApiModelProperty("生长年限")
    private BigDecimal growYear;

    @ApiModelProperty("采收面积")
    private BigDecimal collectArea;

    @ApiModelProperty("本次的采收次数")
    private Integer collectTimes;

    @ApiModelProperty("采收天气")
    private String weather;

    @ApiModelProperty("1种植采收 2育苗采收")
    private Integer type;

    @ApiModelProperty("状态 1未入库 2已入库")
    private Integer state;
}